package android.slc.main_biz.ui.main

import android.os.Bundle
import android.slc.appbase.ui.activity.base.AppMvvmBaseToolBarActivity
import android.slc.main_biz.R
import android.slc.main_biz.databinding.MainBizActivityMainBinding
import androidx.appcompat.app.AppCompatDelegate

class MainActivity : AppMvvmBaseToolBarActivity<MainBizActivityMainBinding, MainVm>() {
    override fun setContentView(): Any {
        return R.layout.main_biz_activity_main
    }

    override fun onBindViewBefore() {
        super.onBindViewBefore()
        getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES)
    }
    override fun onBindView(savedInstanceState: Bundle?) {
        super.onBindView(savedInstanceState)
        mSlcToolbar.setTitle(R.string.app_name)
        mSlcToolbar.navigationIcon = null
    }
}